import java.awt.event.*;
import javax.swing.*;

public class GUIwindow extends WindowAdapter {
	GUI gui;
	
	public GUIwindow(GUI gui) {
		this.gui = gui;
	}
	
	 public void windowClosing(WindowEvent evt) {
		    gui.getClient().saveConfig();
	 }
}
